package com.mysecurity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import org.springframework.security.core.userdetails.UserDetails;

/**
 * 
 * @TableName sys_user
 */
@TableName(value ="sys_user")
@Data
public class CrmUser implements Serializable{
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long usrId;

    /**
     * 
     */
    private String usrName;

    /**
     * 
     */
    private String usrPassword;

    /**
     * 
     */
    private Long usrRoleId;

    /**
     * 
     */
    private Integer usrFlag;

    /**
     * 
     */
    private String salt;

    /**
     * 
     */
    private Integer hashiterations;

    /**
     * 
     */
    private Integer hashIteration;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}